class ListPanel extends eui.Component{
	private list:eui.List;
	public headerTxt:eui.TextInput;
	public hslider:eui.HSlider;
	public constructor() {
		super();
		this.skinName="ListPanelSkin";
	}
	protected childrenCreated(){
		super.childrenCreated();
		var items=[];
		for(var i:number=1;i<20;i++){
			items.push({
				id:'000'+i,
				title:'邵胜来啦'+i,
				time:'10:11:12',
				head:'bg_jpg',
				def:1000
			});
		}
		this.list.itemRenderer=MyItem;
		this.list.dataProvider=new eui.ArrayCollection(items);
		//this.headerTxt.addEventListener(egret.Event.CHANGE,this.onChange,this);
		this.hslider.addEventListener(eui.UIEvent.CHANGE,this.onChange,this);
	}
	private onChange(e:eui.UIEvent){
		var value=e.currentTarget.value;
		this.headerTxt.text=value;
		console.log(value);
	}
}